package com.example.design.bilibili.strategy;

/**
 * 策略模式
 */
public class Client {

    public static void main(String[] args) {
        Context context = new Context();
        Strategy  concretStrategyA = new ConcretStrategyA();
        context.setStrategy(concretStrategyA);
        context.strategyMethod();
    }
}
